import React, { Component } from 'react'
import {LeftOutlined} from '@ant-design/icons'
import { withRouter } from 'react-router'

class Order_page extends Component {
    state={
        data:""
    }
    render() {
        return (
            <div className="order_page">
                <div className="back">
                    订单详情
                    <span onClick={()=>{this.props.history.go(-1)}}><LeftOutlined  /></span>
                </div>
                <div className="list">

                </div>
            </div>  
        )
    }
    componentDidMount(){
        let i = this.props.location.state;
        console.log(i);
    }
}
export default withRouter(Order_page)